import request from '@/utils/request'

// 查询拓客信息列表
export function listCustomer_information(query) {
  return request({
    url: '/customer/customer_information/list',
    method: 'get',
    params: query
  })
}

// 查询拓客信息详细
export function getCustomer_information(id) {
  return request({
    url: '/customer/customer_information/' + id,
    method: 'get'
  })
}

// 新增拓客信息
export function addCustomer_information(data) {
  return request({
    url: '/customer/customer_information',
    method: 'post',
    data: data
  })
}

// 修改拓客信息
export function updateCustomer_information(data) {
  return request({
    url: '/customer/customer_information',
    method: 'put',
    data: data
  })
}

// 删除拓客信息
export function delCustomer_information(id) {
  return request({
    url: '/customer/customer_information/' + id,
    method: 'delete'
  })
}
